import styles from './index.module.scss'
import Button from '@c/button'
import cm from 'classnames'

const Index = props => {
  const { autoPlay } = props
  const played = e => {
    e.stopPropagation()
    autoPlay()
  }
  return (
    <div className={cm(styles.play, 'hideWhenPc')} onClick={played}>
      <img src='/images/video/play-pause.webp' alt='播放'/>
    </div>
  )
}

export default Index
